﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Automobile.service.BLL;
namespace Automobile.service.UI
{
    /// <summary>
    /// Caigou 的摘要说明
    /// </summary>
    public class Caigou : IHttpHandler
    {
        CaigouBLL bll = new CaigouBLL();
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string fitstyear = context.Request["firstyear"];
            string lastyear = context.Request["lastyear"];
            context.Response.Write(bll.CaigouByyear(fitstyear, lastyear));
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}